/* 
 * File:   commands.h
 * Author: cow
 *
 * Created on March 8, 2011, 12:23 PM
 */

#ifndef _COMMANDS_H
#define	_COMMANDS_H

//includes-----------------------------
#include <queue>

using namespace std;

//defines------------------------------

//prototypes---------------------------
class command;

//definitions--------------------------

class commandQueue{
public:
    commandQueue();
    ~commandQueue();

    void addCommand(command* cmd);
    void doCommand();
protected:
private:
    queue<command*> cqu;
};

class command{
public:
    virtual void preform() = 0;
    virtual bool repeat() = 0;
protected:
private:
};

#endif	/* _COMMANDS_H */

